package com.classes.attributes;

import java.nio.ByteBuffer;

import com.classes.attributes.logic.Attribute;

public class AttributeContext {

    private Attribute attribute;
    private ByteBuffer buffer;

    public AttributeContext(ByteBuffer buffer) {
        this.attribute = AttributeFactory.create(buffer);
        this.buffer = buffer;
    }


    public void parse() {
        attribute.parse(buffer);
    }


}
